package model;

public class User {
	private String name;
	private String password;
	
	public String login(){
		//Image here a daravase access to validate the users
		if(name.equalsIgnoreCase("tester") && password.equalsIgnoreCase("tester")){
			return "success";
		}else{
			return "failed";
		}
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}	
}
